PhpOffice\PhpSpreadsheet\Worksheet\Worksheet D

Total Complexity 413
Dependencies 47
Dependents 74
Total lines 3,674
Lines of code 1,443
Logical lines of code 830
Comment lines 1,312
Methods 172
Properties 45

Methods 172

Method Rating Maintainability Complexity Lines of code
calculateColumnWidths()
B
37 21 73
setTitle()
A
45 14 41
getWorksheetAndCoordinate()
A
46 11 35
setCodeName()
A
48 11 32
__clone()
A
50 11 28
rangeToArray()
A
48 10 30
validateNamedRange()
A
51 9 27
mergeCells()
A
47 8 33
createNewCell()
S
52 7 25
fromArray()
S
53 7 23
clearMergeCellsByRow()
S
53 7 22
clearMergeCellsByColumn()
S
53 7 21
duplicateConditionalStyle()
S
54 7 19
freezePane()
S
56 7 18
shrinkRangeToFit()
S
53 6 24
duplicateStyle()
S
53 6 21
checkSheetCodeName()
S
56 6 17
extractSheetTitle()
S
60 6 12
removeRow()
S
53 5 22
cellToArray()
S
56 5 18
getComment()
S
57 5 16
removeComment()
S
59 5 14
removeColumn()
S
52 4 23
garbageCollect()
S
55 4 19
removeColumnDimensions()
S
57 4 17
removeRowDimensions()
S
58 4 16
mergeCellBehaviour()
S
60 4 13
getConditionalStyles()
S
60 4 13
getChartByIndex()
S
61 4 13
conditionalStylesExists()
S
60 4 13
setBreak()
S
61 4 11
getBreaks()
S
60 3 14
setSelectedCells()
S
60 3 14
unmergeCells()
S
60 3 13
rebindParent()
S
61 3 13
namedRangeToArray()
S
59 3 13
getColumnDimension()
S
63 3 11
getStyleByColumnAndRow()
S
64 3 10
getConditionalRange()
S
64 3 10
getHashCode()
S
67 3 7
setAutoFilter()
S
65 3 9
checkSheetTitle()
S
64 3 9
getChartByName()
S
67 3 8
getTableIndexByName()
S
65 3 9
getCoordinates()
S
66 3 9
__construct()
S
56 1 18
getHighestRow()
S
71 2 6
removeColumnByIndex()
S
70 2 6
refreshRowDimensions()
S
67 2 8
refreshColumnDimensions()
S
67 2 8
getChartNames()
S
69 2 7
addChart()
S
65 2 9
getTabColor()
S
71 2 6
disconnectCells()
S
70 2 7
protectCells()
S
66 2 8
unprotectCells()
S
65 2 9
getParentOrThrow()
S
71 2 6
isEmptyRow()
S
64 2 10
isEmptyColumn()
S
64 2 10
insertNewColumnBeforeByIndex()
S
70 2 6
insertNewColumnBefore()
S
64 2 9
insertNewRowBefore()
S
64 2 9
getTableNames()
S
69 2 7
getTableByName()
S
74 2 4
removeTableByName()
S
68 2 7
setDataValidation()
S
67 2 8
getCellOrNull()
S
72 2 6
getDataValidation()
S
69 2 7
getHyperlink()
S
69 2 7
setHyperlink()
S
67 2 8
getHighestColumn()
S
71 2 6
getCell()
S
63 2 10
getRowDimension()
S
68 2 7
setSelectedCell()
S
80 1 3
getSelectedCells()
S
82 1 3
isTabColorSet()
S
80 1 3
copy()
S
81 1 3
getRowIterator()
S
79 1 3
freezePaneByColumnAndRow()
S
79 1 3
getCodeName()
S
82 1 3
toArray()
S
69 1 6
setSelectedCellByColumnAndRow()
S
79 1 3
hasCodeName()
S
80 1 3
getRightToLeft()
S
82 1 3
getTopLeftCell()
S
82 1 3
unfreezePane()
S
80 1 3
getActiveCell()
S
82 1 3
setShowGridlines()
S
77 1 4
getShowGridlines()
S
82 1 3
setRightToLeft()
S
77 1 4
setShowSummaryRight()
S
77 1 4
getShowSummaryRight()
S
82 1 3
getHyperlinkCollection()
S
82 1 3
dataValidationExists()
S
79 1 3
getDataValidationCollection()
S
82 1 3
setShowSummaryBelow()
S
77 1 4
hyperlinkExists()
S
79 1 3
setShowRowColHeaders()
S
77 1 4
getComments()
S
82 1 3
getShowRowColHeaders()
S
82 1 3
setPrintGridlines()
S
77 1 4
setComments()
S
77 1 4
getColumnIterator()
S
79 1 3
getPrintGridlines()
S
82 1 3
resetTabColor()
S
77 1 4
getCommentByColumnAndRow()
S
79 1 3
getShowSummaryBelow()
S
82 1 3
unmergeCellsByColumnAndRow()
S
69 1 7
setTopLeftCell()
S
77 1 4
getTitle()
S
82 1 3
getHighestDataColumn()
S
80 1 3
setProtection()
S
74 1 5
getProtection()
S
82 1 3
setSheetView()
S
77 1 4
getSheetView()
S
82 1 3
setHeaderFooter()
S
77 1 4
getHeaderFooter()
S
82 1 3
setPageMargins()
S
77 1 4
getPageMargins()
S
82 1 3
setPageSetup()
S
77 1 4
getPageSetup()
S
82 1 3
setSheetState()
S
77 1 4
getSheetState()
S
82 1 3
getParent()
S
82 1 3
getHighestRowAndColumn()
S
81 1 3
calculateWorksheetDataDimension()
S
79 1 3
calculateWorksheetDimension()
S
79 1 3
getChartCount()
S
80 1 3
getChartCollection()
S
82 1 3
getDrawingCollection()
S
82 1 3
getDefaultColumnDimension()
S
82 1 3
columnDimensionCompare()
S
79 1 3
getColumnDimensions()
S
72 1 5
getDefaultRowDimension()
S
82 1 3
getRowDimensions()
S
82 1 3
getInvalidCharacters()
S
80 1 3
getCellCollection()
S
82 1 3
__destruct()
S
73 1 5
getHighestDataRow()
S
80 1 3
setCellValue()
S
72 1 5
getFreezePane()
S
82 1 3
compareColumnBreaks()
S
72 1 5
removeTableCollection()
S
76 1 4
addTable()
S
73 1 5
getTableCollection()
S
82 1 3
removeAutoFilter()
S
77 1 4
setAutoFilterByColumnAndRow()
S
69 1 7
getAutoFilter()
S
82 1 3
getProtectedCells()
S
82 1 3
unprotectCellsByColumnAndRow()
S
69 1 7
protectCellsByColumnAndRow()
S
68 1 7
setMergeCells()
S
77 1 4
getMergeCells()
S
82 1 3
mergeCellsByColumnAndRow()
S
68 1 7
getColumnBreaks()
S
72 1 5
compareRowBreaks()
S
72 1 5
setCellValueByColumnAndRow()
S
74 1 4
getRowBreaks()
S
72 1 5
setBreakByColumnAndRow()
S
78 1 3
setConditionalStyles()
S
75 1 4
getConditionalStylesCollection()
S
82 1 3
removeConditionalStyles()
S
75 1 4
getStyle()
S
70 1 6
getStyles()
S
82 1 3
getColumnDimensionByColumn()
S
80 1 3
rowDimensionExists()
S
79 1 3
cellExistsByColumnAndRow()
S
79 1 3
cellExists()
S
72 1 5
getCellByColumnAndRow()
S
79 1 3
setCellValueExplicitByColumnAndRow()
S
74 1 4
setCellValueExplicit()
S
72 1 5
nameRequiresQuotes()
S
78 1 3